import java.util.Scanner;

public class Main1160 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int n= sc.nextInt();
        int[] a=new int[n];
        for (int i=0;i<n;i++){
            a[i]= sc.nextInt();
        }
        double sum=0.0;
        for (int i=0;i<n;i++){
            sum=sum+a[i];
        }if (sum>100){
            System.out.println(String.format("%.2f",100+(sum-100)*0.9));
        }else {
            System.out.println(sum);
        }
    }
}
